frame: annotate the @label params with (allow-none)
authorStefan Sauer <ensonic@users.sf.net>
Thu, 29 Aug 2013 07:06:31 +0000 (09:06 +0200)
committerStefan Sauer <ensonic@users.sf.net>
Thu, 29 Aug 2013 07:06:31 +0000 (09:06 +0200)
gtk/gtkaspectframe.c
gtk/gtkframe.c
gtk/gtklabel.c

index e9e76361ae4026b48f13276ec1927d25a96d01e4..f684733f8a0f66b5e4a441a8a2901d069da66117 100644 (file)
@@ -219,7 +219,7 @@ gtk_aspect_frame_get_property (GObject         *object,
 
 /**
  * gtk_aspect_frame_new:
- * @label: Label text.
+ * @label: (allow-none): Label text.
  * @xalign: Horizontal alignment of the child within the allocation of
  *  the #GtkAspectFrame. This ranges from 0.0 (left aligned)
  *  to 1.0 (right aligned)
index e5c1aad511c3f4f165e59a1053b17148bf3e4591..dbb93b350720d3fe933cd92fa4153a821c23b6af 100644 (file)
@@ -332,7 +332,7 @@ gtk_frame_get_property (GObject         *object,
 
 /**
  * gtk_frame_new:
- * @label: the text to use as the label of the frame
+ * @label: (allow-none): the text to use as the label of the frame
  * 
  * Creates a new #GtkFrame, with optional label @label.
  * If @label is %NULL, the label is omitted.
index d5deb5759b07c107060e477626df75bb139d6579..d0b164301ccea094e175327a34104c6aa3b51d63 100644 (file)
@@ -1617,7 +1617,7 @@ gtk_label_buildable_custom_finished (GtkBuildable *buildable,
 
 /**
  * gtk_label_new:
- * @str: The text of the label
+ * @str: (allow-none): The text of the label
  *
  * Creates a new label with the given text inside it. You can
  * pass %NULL to get an empty label widget.
@@ -1639,7 +1639,7 @@ gtk_label_new (const gchar *str)
 
 /**
  * gtk_label_new_with_mnemonic:
- * @str: The text of the label, with an underscore in front of the
+ * @str: (allow-none): The text of the label, with an underscore in front of the
  *       mnemonic character
  *
  * Creates a new #GtkLabel, containing the text in @str.